# coding:utf-8
from flask_script import Manager

from app import create_app
from app import db
from app.models import User

app = create_app()
manager = Manager(app)


def make_shell_context():
    return dict(app=app, db=db, User=User)


if __name__ == '__main__':
    manager.run()
